package com.lw.sbdemo2.entity;

import com.lw.sbdemo2.common.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.type.Alias;

import java.math.BigDecimal;

/**
 * <p>标题: 试卷商品主表实体</p>
 * <p>描述: </p>
 * <p>版权: Copyright (c) 2019</p>
 * <p>公司: 山人行工作室</p>
 *
 * @version: 1.0
 * @author: LinWang
 * @date 2019-5-20
 */
@Data
@AllArgsConstructor
@Builder
@NoArgsConstructor
@Alias("TkTermProduct")
@ApiModel(description = "试卷商品主表实体")
public class TkTermProduct extends BaseEntity {

	@ApiModelProperty(value = "学期ID")
    private String termId;
	@ApiModelProperty(value = "学期名称")
    private String termName;
	@ApiModelProperty(value = "学期价格")
    private BigDecimal termPrice;
    @ApiModelProperty(value = "学期原始价格")
    private BigDecimal termPriceOld;
	@ApiModelProperty(value = "学期封面")
    private String termCover;
	@ApiModelProperty(value = "学期描述")
    private String termDesc;
	@ApiModelProperty(value = "创建时间")
    private java.util.Date createdTime;
	@ApiModelProperty(value = "修改时间")
    private java.util.Date modifiedTime;
	@ApiModelProperty(value = "有效标志")
    private String validFlag;
	@ApiModelProperty(value = "所属年级")
    private String subGrade;
	@ApiModelProperty(value = "难度级别")
    private String difficultyLevel;
	@ApiModelProperty(value = "上架状态")
    private String onState;
	@ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "年级名称")
    private String gradeName;

    @ApiModelProperty(value = "排序号")
    private String sortNo;

    private String userId;
}
